<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link type="text/css" rel="stylesheet" href="__PUBLIC__/web/css/lib.css?2">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1, minimum-scale=1.0"/>
	<meta content="telephone=no" name="format-detection">
	<title>矿工公会</title>
	<script src="__PUBLIC__/web/js/jquery-1.8.3.min.js"></script>
	<link rel="stylesheet" href="__PUBLIC__/web/css/weui.min.css"/>
	<link rel="stylesheet" href="__PUBLIC__/web/css/jquery-weui.min.css">
	<link href="__PUBLIC__/web/css/font-awesome.min.css" rel="stylesheet">
	<link href="__PUBLIC__/web/fonts/iconfont.css" rel="stylesheet">
	<script src="__PUBLIC__/web/js/layer.js"></script>
</head>
<body>
	<!--顶部开始-->
	<header class="header">
		<span class="header_l"><a href="javascript:history.go(-1);"><i class="fa fa-chevron-left"></i></a></span>
		<span class="header_c">矿工公会</span>
		<span class="header_r"><a href="/index.php/Home/Index/index/"><i class="fa fa-user"></i></a></span>
		
		
	</header>
	<div>
   <ul style="width:90%;padding-top:15%;margin-left:5%">
        <li style="width:25%;float:left;text-align:center;color:#000;background-color:#fff;height: 30px;line-height: 30px;border-bottom-left-radius: 5px;border-top-left-radius:5px;"><a style="color:#000" href="/index.php/Home/Myuser/index/">我的公会</a></li>
		<li style="width:25%;float:left;text-align:center;color:#000;background-color:#05B6A3;height: 30px;line-height: 30px;"><a style="color:#fff" href="/index.php/Home/Myuser/kjwl/" >矿机网络</a></li>
       
        <li style="width:25%;float:left;text-align:center;color:#000;background-color:#05B6A3;height: 30px;line-height: 30px;"><a style="color:#fff" href="/index.php/Home/Myuser/ssgh/" >所属公会</a></li>
    <li style="width:25%;float:left;text-align:center;color:#000;background-color:#05B6A3;height: 30px;line-height: 30px;border-bottom-right-radius: 5px;border-top-right-radius:5px;">
        <a style="color:#fff" href=" <if condition = "$rshy.ktghgl eq 2">/index.php/Home/Myuser/ghgl/ <else/>   javascript:$.alert('请继续努力，会长以上级别可申请此功能',function(){return false;})</if>" >公会管理</a>
        </li>    </ul>
</div>
	<div class="height40"></div>
	
	<!--顶部结束-->
	<div style="margin:15px;width:375px;overflow-x: scroll;">{$tjtreestr}</div>
	<div class="height55"></div>
	<script language="javascript">
function findtree(userid,url){
		var nextree=$('#nextree_'+userid);
		var treeimg=$('#tree_'+userid);
		if(nextree.css('display')=='none'){
			nextree.css('display','block');
			if(treeimg.attr('src')=='/Public/images/tree_minus.gif'){
				treeimg.attr('src','/Public/images/tree_minusl.gif');
			}else{
				treeimg.attr('src','/Public/images/tree_minus.gif');	
			}
			nextree.html('载入中.........');
		}else{
			nextree.css('display','none');	
			if(treeimg.attr('src')=='/Public/images/tree_minus.gif'){
				treeimg.attr('src','/Public/images/tree_plus.gif');
			}else{
				treeimg.attr('src','/Public/images/tree_minus.gif');	
			}
			
		}
		
		$.get(url, {userid:userid}, function (data, textStatus){
			if(textStatus=='success'){
				nextree.html(data);
			}else{
				nextree.html('获取失败');
			}
		});
		
		
}
</script>
	<script>
		function pay(){
			$.ajax({
				type:'post',
				url:'/tixian.html',
				data:"money="+$("#money").val(),
				dataType:'json',
				success:function(msg){
                        alert(msg.msg);
                        location.reload();
				}
			});
		}
	</script>
<!--底部开始-->
<style>
	.footer ul li{
		width: 25%;
	}
</style>
<div class="footer">
    <ul>
        <li><a href="/index.php/Shop/Index/" class="block"><i class="iconfont">&#xe604;</i>矿机商城</a></li>
		<li><a href="/index.php/Home/Info/mykuangche/" class="block"><i class="iconfont">&#xe601;</i>我的矿机</a></li>
        <li><a href="/index.php/Home/Info/Index/" class="block"><i class="iconfont">&#xe645;</i>交易中心</a></li>
        <li><a href="/index.php/Home/Index/Index/" class="block"><i class="iconfont">&#xe684;</i>个人中心</a></li>
    </ul>
</div>
	<!--底部结束-->
	<script src="__PUBLIC__/web/js/jquery-weui.min.js"></script>
	<script>
		function showhidediv(id) {
			console.log(id);
			var qiugou = document.getElementById("yiji");
			var zhengzai = document.getElementById("erji");
			var wancheng = document.getElementById('sanji');
			var qiugoubg = document.getElementById("yiji_list");
			var zhengzaibg = document.getElementById('erji_list');
			var wancehngbg = document.getElementById('sanji_list');
			if (id == "erji") {
				wancheng.style.display = 'none';
				zhengzai.style.display = 'block';
				qiugou.style.display = 'none';
				qiugoubg.style.backgroundColor = "#E64340"
				qiugoubg.style.color = "#fff"
				zhengzaibg.style.backgroundColor = "#fff";
				zhengzaibg.style.color = "#000";
				wancehngbg.style.backgroundColor = "#E64340";
				wancehngbg.style.color = "#fff";
			}else if (id =='sanji') {
				zhengzai.style.display = 'none';
				wancheng.style.display = 'block';
				qiugou.style.display = 'none';
				qiugoubg.style.backgroundColor = "#E64340"
				zhengzaibg.style.backgroundColor = "#E64340";
				qiugoubg.style.color= "#fff";
				zhengzaibg.style.color = "#fff";
				wancehngbg.style.backgroundColor = "#fff";
				wancehngbg.style.color = "#000";
			}else if(id=='yiji'){
				zhengzai.style.display = 'none';
				wancheng.style.display = 'none';
				qiugou.style.display = 'block';
				qiugoubg.style.backgroundColor = "#fff";
				qiugoubg.style.color = "#000";
				zhengzaibg.style.backgroundColor = "#E64340";
				wancehngbg.style.backgroundColor = "#E64340";
				zhengzaibg.style.color = "#fff";
				wancehngbg.style.color = "#fff";
			}
		}
	</script>
</body>
</html>